<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<div id="list_job_project">
	<display:table name="project.jobs" id="row" requestURI="/project.do" pagesize="20">


		<display:column sortable="true" property="skill.name" titleKey="jobs.list.skill" />
		<display:column sortable="true" property="salary" titleKey="jobs.list.salary" />
		<display:column sortable="true" titleKey="jobs.list.auction">
			<c:choose>
				<c:when test="${row.auction}">
					<bean:message key="job.list.auctionok"/>
				</c:when>
				<c:otherwise>
					<bean:message key="job.list.auctionko"/>
				</c:otherwise>
			</c:choose>
		</display:column>
			<display:column sortable="true" property="freelance.name" titleKey="jobs.list.freelance"/>

		<display:setProperty name="paging.banner.placement" value="top" />
		<display:setProperty name="paging.banner.item_name"><bean:message key="jobs.list.item_name" /></display:setProperty>
		<display:setProperty name="paging.banner.items_name"><bean:message key="jobs.list.items_name" /></display:setProperty>
		<display:setProperty name="basic.msg.empty_list"><bean:message key="project.view.nojob" /></display:setProperty>
	</display:table>

	<p>
		<html:link page="/project/addjob.do?id=${project.id}">
			<bean:message key="project.view.addjob"/>
		</html:link>
	</p>
</div>